home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8331 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: stc06.ctd.ornl.gov!msr!kennel
  2. From: kennel@msr.epm.ornl.gov (Matt Kennel)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the ....
  5. Followup-To: comp.lang.ada,comp.lang.c,comp.lang.c++
  6. Date: 16 Feb 1996 20:56:59 GMT
  7. Organization: Oak Ridge National Lab, Oak Ridge, TN
  8. Message-ID: <4g2r2r$ded@stc06.ctd.ornl.gov>
  9. References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com> <3114d8fb.5a455349@zesi.ruhr.de> <4f5h5t$f13@vixen.cso.uiuc.edu> <4g1bgf$l5@mailhub.scitec.com.au> <3124B43F.19E0@escmail.orl.mmc.com>
  10. NNTP-Posting-Host: msr.epm.ornl.gov
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Ted Dennison (dennison@escmail.orl.mmc.com) wrote:
  14. > Ramses Youhana wrote:
  15. > > 
  16. > > Another thing not mentioned is that Ada is far more complicated to learn
  17. > > fully than is C/C++.  The complexity of the language can add to an increase
  18. > > in the probabilty of bugs being introduced and also adds to an increase in
  19. > > project maintanace costs.
  20.  
  21. > Perhaps it was not mentioned becuase it is not true. My understanding 
  22. > was that C++ is more complicated that Ada. 
  23.  
  24. > Either way, if Ada is as complicated as it gets, no one has anything
  25. > to worry about. I managed to pass an Ada literacy test within a week
  26. > of being introduced to the language. Any reasonably intelligent 
  27. > person with prior Pascal/Modula exposure could do the same.
  28.  
  29. The complexity of the language matters some. 
  30.  
  31. What I think is more important is the needed complexity of the solutions
  32. that you write in such a language.
  33.  
  34. C++ has disadvantages in that different parts of the language can 
  35. interact with sometimes ill effect, which makes writing programs
  36. difficult.
  37.  
  38. As for Ada, I'm not yet fully convinced abou the package vs 
  39. type thing.  C++ might be ugly because you can have all sorts of
  40. elements outside classes, but in Eiffel you cannot.
  41.  
  42. Eiffel intentionally makes the unit of namespace and of type
  43. the same. 
  44.  
  45. The question is, do the benefits of having them completely separate
  46. make up for the extra work and complexity of having to double the
  47. number of 'mental units' in most idiomatic programs.  (and without
  48. MI you have to go a bit further) 
  49.  
  50. Yes, Ada has them on orthogonal axes.  Eiffel only has "one axis"
  51. but it may empirically be along the major princpal component with
  52. only a small deviation in other directions. 
  53.  
  54. > -- 
  55. > T.E.D.          
  56. >                 |  Work - mailto:dennison@escmail.orl.mmc.com  |
  57. >                 |  Home - mailto:dennison@iag.net              |
  58. >                 |  URL  - http://www.iag.net/~dennison         |
  59.